﻿/// <reference path="../Plugins/jquery-1.7.2-vsdoc.js" />
//---------- Common Begin ----------/
var Common = {};
Common.BaseUrl = "";

Common.DotNetDateToJsDate = function (src) {
    //Common.Console.Log("toDateFromJson");
    //Common.Console.Log(src);
    return new Date(parseInt(src.substr(6)));
}

//---------- Common End ----------/


//---------- Common.Json Begin ----------/
Common.Json = {};

//---------- Common.Json End ----------/



//---------- Common.Console Begin ----------/
Common.Console = {};
Common.Console.Enabled = true;

Common.Console.Log = function(msg) {
    if (Common.Console.Enabled && console != null && console.log != null)
        console.log(msg);
}

Common.Console.Dir = function(msg) {
    if (Common.Console.Enabled && console != null && console.dir != null)
        console.dir(msg);
}

//---------- Common.Console End ----------/